#ifndef CUSTOMBUTTON_H
#define CUSTOMBUTTON_H

#include <QPushButton>

class CustomButton : public QPushButton
{
    Q_OBJECT
public:
//    explicit CustomButton(QWidget *parent = nullptr);
    CustomButton(QString normal, QString press = "");
    void zoom1();
    void zoom2();

    // 重写按钮事件
    void mousePressEvent(QMouseEvent *e);
    void mouseReleaseEvent(QMouseEvent *e);

    QString m_normal_img_path;
    QString m_press_img_path;

signals:

public slots:
};

#endif // CUSTOMBUTTON_H
